#include <iostream>
#include <algorithm>
#include <vector>

bool is_even(int num) {
    return num % 2 == 0;
}

int main() {
    std::vector<int> numbers = {2, 4, 6, 1, 3, 5};

    bool result = std::is_partitioned(numbers.begin(), numbers.end(), is_even);

    if (result) {
        std::cout << "The range is partitioned." << std::endl;
    } else {
        std::cout << "The range is not partitioned." << std::endl;
    }

    return 0;
}